import axios from 'axios'

const instance = axios.create({
  baseURL: 'http://localhost:5173/api',
  timeout: 5000,
  baseURL: '/api',
  headers: {
    'Content-Type': 'application/json'  // 确保以JSON格式发送
  }
})

export default instance
